<?php
if($view->msg != '')
{
    echo '<div class="error">'.$view->msg.'</div>';
}
?>
<div class="loginArea span-11">
    <form method="post" action="<?php echo $view->url(array('controller' => 'SignUp', 'action' => 'loginTry')); ?>" >
        <h3>Login</h3>
        <div>
            <label for="user">Usuario</label>
            <input type="text" name="username" id="user" />
        </div>
        <div>
            <label for="pass">Contrase&ntilde;a</label>
            <input type="password" name="password" id="pass" />
        </div>
        <div>
            <input type="submit" id="Acceder" value="Entrar" /> 
            <a href="<?php echo $view->url(array('controller'=>'Profile','action'=>'createOwner'));?>">Crear Perfil</a>
        </div>
    </form>
</div>
